package com.dudu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dudu.dto.OrderUserDto;
import com.dudu.dto.ResultDto;
import com.dudu.pojo.Orders;
import com.dudu.pojo.Services;
import com.dudu.vo.ConfirmPhoneVo;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface OrderService extends IService<Orders> {
    ResultDto addOrder(Orders orders);

    List<OrderUserDto> getOrderList();

    boolean receiveOrder(Services services);

    ResultDto confirmPhone(ConfirmPhoneVo confirmPhoneVo);

    ResultDto getOrderById(Orders orders);

    ResultDto updateOrderStatus(Orders orders);

    ResultDto tui(String orderId);
}
